<script setup>
import {useRoute} from "vue-router";

let route =  useRoute()
</script>

<template>
<h1>Student 页面</h1>
  <div>欢迎 {{ route.params.name}} 同学</div>
  <router-view></router-view>
</template>

<style scoped>

</style>